Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: define Pair type constructor #68

Merged
merged 1 commit into from
May 12, 2016
Merged

types: define Pair type constructor #68

merged 1 commit into from
May 12, 2016

Conversation

davidchambers
Copy link
Member

Pair is an important type constructor. Without it, R.toPairs({foo: 42}) evaluates to an "invalid" value. See sanctuary-js/sanctuary#214 for discussion of S.pairs, which could make use of Pair.

@davidchambers davidchambers mentioned this pull request May 9, 2016
4 tasks
@Avaq
Copy link
Member

Avaq commented May 11, 2016

It looks perfectly fine to me. :)

@gilligan
Copy link

Looks good to me, Having a Pair type makes sense to me.

@svozza
Copy link
Member

svozza commented May 11, 2016

Nice. I think I will hold off on S.toPairs until this type lands.

@davidchambers davidchambers merged commit 35833e0 into master May 12, 2016
@davidchambers davidchambers deleted the dc-pair branch May 12, 2016 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants